import { PlayerModel } from "../src/dao/player";
import _ from 'lodash';  


async function test() {
    // const p = new PlayerModel();
    // const res = await p.getPlayer();
    

    // const res = p.addAdminConf();
    // const res = await p.updateAdminConf();
    // const res = await p.tx();
    // console.log('res', res);

    const ages: number[] = [1,2];
    console.log(ages);
    changeArr(_.cloneDeep(ages));
    console.log(ages);
}

function changeArr(nums: number[]) {
    nums[0] += 1;
}

test();
